Learn R Programming

Directional (version 4.7)

Bootstrap 2-sample mean test for circular data: Bootstrap 2-sample mean test for circular data

Description

Bootstrap 2-sample mean test for circular data.

Usage

hcfcirc.boot(u1, u2, rads = TRUE, B = 999)

lrcirc.boot(u1, u2, rads = TRUE, B = 999)

embedcirc.boot(u1, u2, rads = TRUE, B = 999)

hetcirc.boot(u1, u2, rads = TRUE, B = 999)

Arguments

u1

A numeric vector containing the data of the first sample.

u2

A numeric vector containing the data of the first sample.

rads

If the data are in radians, this should be TRUE and FALSE otherwise.

B

The number of bootstraps to perform.

Value

A vector including:

test

The value of the test statistic.

p-value

The p-value of the test.

kappa

The concentration parameter based on all the data. If the het.circaov is used this argument is not returned.

Details

The high concentration (hcfcirc.boot), the log-likelihood ratio test (lrcirc.boot) or the non equal concentration parameters approach (hetcirc.boot) is used.

References

Mardia, K. V. and Jupp, P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.

See Also

hcf.circaov, het.aov

Examples

Run this code
# NOT RUN {
u1 <- rvonmises(20, 2.4, 5)
u2 <- rvonmises(20, 2.4, 10)
hcfcirc.boot(u1, u2)
# }

Run the code above in your browser using DataLab